package com.ruoyi.web.domain.warning;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 因子映射关系
 * @author fwx
 * @since 2024-02-03 14:32:28
 */
@Data
@TableName("tt_wq_factor_mapping")
@ApiModel(value = "FactorMapping对象", description = "因子映射关系")
public class FactorMapping implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("因子key")
    @TableField("factor_key")
    private String factorKey;

    @ApiModelProperty("物模型key")
    @TableField("model_key")
    private String modelKey;

    @ApiModelProperty("产品id")
    @TableField("product_id")
    private Long productId;
}
